<template>
	<view>
		<view class="header flex">
			<image src="../../static/icos/default-face.png" mode="" style="width: 120upx;height: 120upx;"></image>
			<view class="">
				<text @click="toLogin()">登录</text>/<text @click="toRegister()">注册</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			toLogin() {
				uni.navigateTo({
					url: '../login/login'
				});
			},
			toRegister() {
				uni.navigateTo({
					url: '../register/register'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.header {
		padding: 60px 15px 20px 15px;
		background-color: #ffd655;
		background: url(http://122.152.205.72:88/group1/M00/00/03/CpoxxFwu_1OAYFAIAAAzO_Q1tPg693.png) repeat;
		align-items: center;

		image {
			margin: 0 20upx;
		}
	}
</style>
